{__NOLAYOUT__}
<layout name="disshop_nosearch" />

<style type="text/css">
.header-9km2 {
	background-color: #ef3d69;
	padding: 10px 0;
	position: relative;
}

.header-9km2 .btn-back {
	position: absolute;
	left: 15px;
	top: 10px;
	display: block;
	width: 10px;
	height: 20px;
	background-image: url("/emall/images/back-1.png");
	background-size: 10px 20px;
	background-position: left top;
	background-repeat: no-repeat;
}

.header-9km2 .title {
	text-align: center;
	color: #ffffff;
}
</style>
<div class="header-9km2">
	<span class="btn-back" onclick="history.back()">&nbsp;</span>
	<p class="title">积分记录</p>
</div>

<style type="text/css">
    .userinfo{font-size: 1em;}
    .userinfo .mc table{border: none;}
    .userinfo .mc th{border-bottom: none;padding: 5px 0;font-weight: 1.2em;}
    .userinfo .mc td{padding: 5px 0;text-align: center;}
</style>

<div class="userinfo">
	<div class="mc">
		<table cellpadding="0" cellspacing="0">
			<tr>
				<th class="no-bl" style="width: 20%">时间</th>
				<th class="no-bl" style="width: 30%">操作</th>
				<th class="no-bl" style="width: 30%">增/减</th>
				<th class="no-bl">剩余</td>
			</tr>
			<volist name="scoreList" id="vo">
			<tr>
				<td class="no-bl">{$vo['create_time']|date="Y-m-d H:i",###}</td>
				<td class="no-bl">
					<if condition="$vo['tag'] eq 'TradeReward'">购物返币
					<elseif condition="$vo['tag'] eq 'ScoreTrade'"/>币购物
					<elseif condition="$vo['tag'] eq 'FillInfo'"/>完善资料
					<elseif condition="$vo['tag'] eq 'DistributionReward'"/>分销返币
					<elseif condition="$vo['tag'] eq 'DownlineSubscribe'"/>发展下线关注
					<elseif condition="$vo['tag'] eq 'FirstSubscribe'"/>首次关注
					</if>
				</td>
				<td class="no-bl">{$vo['score']}</td>
				<td class="no-bl">{$vo['balance']}</td>
			</tr>
			</volist>
		</table>
	</div>
</div>
